package com.forcedotcom.model
{
	import com.forcedotcom.AccountConnection;
	import com.forcedotcom.components.PostItemDataArrayCollection;
	import com.forcedotcom.components.PostList;
	
	import mx.collections.ArrayCollection;

	[Bindable]
	public class PostListData
	{
		//public var postList:PostList = new PostList();
		public var query:String;
		public var feed:PostItemDataArrayCollection = new PostItemDataArrayCollection();
		public var account:AccountConnection;
		public var name:String;
		public var lastItem:String;
		public var baseQuery:String;
		public var whereClause:String;
		public var withClause:String;
		
		/*public function PostListData(query:String, name:String) {
			this.query = query;		
			this.name = name;
		}*/
		
		public function PostListData(baseQ:String, fromClause:String, withClause:String, whereClause:String, orderByClause:String, name:String) {
			this.query = baseQ + fromClause + withClause + whereClause + orderByClause;
			this.name = name;
		}
		public function getMore():void {
			
		}
	}
}